import Login from "@/views/Login"
import Home from "@/views/Home"
import ProductMgr from "@/views/product/ProductMgr"
import ProductCate from "@/views/product/ProductCate"
import ProductComment from "@/views/product/ProductComment"
import ProductSpec from "@/views/product/ProductSpec"
import OrderMgr from "@/views/order/OrderMgr"
const routes=[
    {
        path:'/login',
        element:<Login/>
    },
    {
        path:'/',
        element:<Home/>,
        children:[
            {
                path:'productMgr',
                element:<ProductMgr/>
            },
            {
                path:'productCate',
                element:<ProductCate/>
            },
            {
                path:'productComment',
                element:<ProductComment/>
            },
            {
                path:'productSpec',
                element:<ProductSpec/>
            },
            {
                path:'orderMgr',
                element:<OrderMgr/>
            }
        ]
    }
]
export default routes